package com.atguigu.vodtest;

import com.aliyun.oss.ClientException;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;

public class InitObject {

    public static DefaultAcsClient initVodClient(String accessKeyId, String accessKeySecret) throws ClientException {
        String regionId = "cn-shanghai";  // 点播服务接入区域
        DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeyId, accessKeySecret);
        DefaultAcsClient client = new DefaultAcsClient(profile);

        return client;


    }

    public static void main(String[] args) {
        Integer integer = 129;
        int a = 129;
        Float f1 = 8f;
        Float f2 = 8f;
        System.out.println(a==integer);
        System.out.println(f1 == f2);
        Integer i = 1;
        integeras(i);
        System.out.println(i);
        System.out.println();

    }
    public static Integer integeras(Integer integer){
        return integer =9;
    }
}
